package pet_pavilion.yushougeums.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class UserLoginInfoParam implements Serializable {
    @NotNull(message = "登录用户失败，必须提交登录名称！")
    @ApiModelProperty(value = "用户名称",required = true,example = "root")
    private String username;

    @NotNull(message = "登录用户失败，必须提交登录密码！")
    @ApiModelProperty(value = "用户密码",required = true,example = "root")
    private String password;

}
